<!--生成放货配送-->
<div id="delivery_dialog" class="dialog transportNotice_dialog none" style="margin-top: -272.5px; margin-left: -200px;">
	<div class="dialogTitle">生成放货配送</div>
	<button class="closeDiv">×</button>
	<div style="height: 400px; overflow-y: scroll ;" class="dialogContent deliveryContent" action="createDelivery" version="v1.0">
		<div>
			<input type="hidden" name="deliveryNoticeId" />
			<p>
				<span for="" class="field-lab2 financing_field-lab2">
		<input class="field-input " minLength="1" maxLength="255" type="hidden" name="clerkMobile" id="clerkMobile" placeholder="手机号" />
		
			<span for="" class="field-lab2 financing_field-lab2">配送负责人：</span>
				<input type="hidden" name="clerkName" class="clerkNameInput" />
				<select class="field-input" id="clerkName" name="clerkId">
					<script type="text/template" id="clerkTpl">
						<option value=""></option>
						{@each datas as it}
						<option value="${it.clerkId}">${it.clerkName}</option>
						{@/each}
					</script>
				</select>
			</p>

			<div>
				<table class="table">
					<thead>
						<tr>
							<th><input type="checkbox" class="inventoryIdAll" />全选 运单号</th>
							<th>箱号</th>
							<th>箱型尺寸</th>
							<th>货名</th>
							<th>数量--重量(吨)--体积(m<sup>3</sup>)</th>
							<th>实际数量</th>
							<th>铅封号1</th>
							<th>铅封号2</th>
						</tr>
					</thead>
					<tbody id="inventoryBody">
						<script type="text/template" id="inventoryTpl">
							{@each datas as it,index}
							<tr>
								<td style="display: ruby-base-container; width: auto;">${index*1 +1} <input type="checkbox" class="inventoryId" name="inventoryId" value="${it.inventoryId}" /> ${it.waybillNumber}</td>
								<td>${it.caseNumber}</td>
								<td>${it.caseSize}</td>

								<td>{@each it.containerBulkstocks as that} ${that.bulkstockName}
									<br/> {@/each}
								</td>
								<td>
									{@each it.containerBulkstocks as that} ${that.plannedQuantity}(${that.unit})--${that.weight}--${that.volume}
									<br/> {@/each}
								</td>
								<td>{@each it.containerBulkstocks as that} ${that.quantity}(${that.unit})
									<br/> {@/each}
								</td>

								<td>${it.facingSlip}</td>
								<td>${it.facingSlipNext}</td>
							</tr>
							{@/each}
						</script>
					</tbody>
				</table>
			</div>
		</div>

	</div>
	<div class="footerBtnContract">
		<div id="sure_deliveryNotice" class="dialogBtn dialogHandlerBtn sure_transportNotice">提交</div>
	</div>
</div>